package com.example.building_material_mannager.controller;

import com.example.building_material_mannager.entity.OtherExpenses;
import com.example.building_material_mannager.entity.OtherSelect;
import com.example.building_material_mannager.service.OtherExpensesService;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;
import java.util.List;

@Controller
public class OtherExpensesController {
    @Resource
    OtherExpensesService otherExpensesService;

    public List<OtherExpenses> selectOtherExpenses(OtherSelect otherSelect) {

        return otherExpensesService.selectOtherExpenses(otherSelect);
    }
}
